<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>02变量与常量</title>
</head>
<body>
<script>
    var a=1;
    var b=3.14;
    var c='你们';
    var d="好呀";
    var e=true;
    console.log(typeof a,typeof b,typeof c,typeof d,typeof e)
    a=3.4;
    console.log(a,typeof a);
    a=false;
    console.log(a,typeof a);
    a='哈哈哈哈哈哈';
    console.log(a,typeof a);

    let x=1;
    console.log(x,typeof x);
    x=6.6;
    console.log(x,typeof x);
    // let x=true;
    // console.log(x,typeof x);

    const y=1;
    console.log(y);
    // y=33;
</script>
</body>
</html>